import { RouteRecordRaw } from 'vue-router';

const routes: RouteRecordRaw[] = [
  {
    path: '/tag',
    component: () => import('@/layout/index.vue'),
    redirect: '/tag/list',
    meta: { title: '标签' },
    children: [
      {
        path: 'list',
        name: 'list',
        component: () => import('@/views/tagList/index.vue'),
        meta: { title: '计划模板管理' }
      },
      {
        path: 'detail',
        name: 'detail',
        component: () => import('@/views/tagDetail/index.vue'),
        meta: { title: '计划模板管理' }
      }
    ]
  }
];
export default routes;
